package com.whfc.common.enums;

/**
 * @Description: 同步平台
 */
public enum SyncPlatform {

    HUNANEMP(1, "湖南省劳务实名制"),

    HUNANMS(2, "湖南省智慧工地"),

    XIONGANJS(3, "雄安建设"),

    CDUSS(4, "成都智慧工地"),

    MACH_DEVICE(5, "机械云管家数据推送"),

    LUBAN(6, "鲁班"),

    YUNZU(7, "云租平台"),

    FVS_GPS(8, "监控位置推送"),

    SZJ(9,"宇泛数智建平台")

    ;

    private Integer value;

    private String desc;

    SyncPlatform(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }

    public static SyncPlatform parseValue(Integer value) {
        SyncPlatform[] platforms = SyncPlatform.values();
        for (SyncPlatform platform : platforms) {
            if (platform.value.equals(value)) {
                return platform;
            }
        }
        return null;
    }
}
